package com.itheima.edu.info.manager;

public class Test1 {
    public static void main(String[] args) {
        abc(new aa() {
            @Override
            public int b(int a ,int b) {
                System.out.println(a+b);
                return a-b;
            }
        });
        System.out.println( abc((int a,int b)->{
            return a+b;
        }));
    }
    public static int abc(aa aa) {
       return aa.b(10,20);

    }
    public static void ab(int a,int b){
    }
}
